package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程管理对象 test_subect
 * 
 * @author ruoyi
 * @date 2021-12-21
 */
public class TestSubect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 课程名 */
    @Excel(name = "课程名")
    private String subjectName;

    /** 课程类型 1，历史，2.语文 */
    @Excel(name = "课程类型 1，历史，2.语文")
    private Long subjectType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }
    public void setSubjectType(Long subjectType) 
    {
        this.subjectType = subjectType;
    }

    public Long getSubjectType() 
    {
        return subjectType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectName", getSubjectName())
            .append("subjectType", getSubjectType())
            .toString();
    }
}
